﻿<!DOCTYPE html>
<html>
  <head>
    <title>H 登录密码</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="files/h_登录密码/styles.css" type="text/css" rel="stylesheet"/>
    <link rel="stylesheet" href="lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="css/public.css" media="all">
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/axure/axQuery.js"></script>
    <script src="resources/scripts/axure/globals.js"></script>
    <script src="resources/scripts/axutils.js"></script>
    <script src="resources/scripts/axure/annotation.js"></script>
    <script src="resources/scripts/axure/axQuery.std.js"></script>
    <script src="resources/scripts/axure/doc.js"></script>
    <script src="data/document.js"></script>
    <script src="resources/scripts/messagecenter.js"></script>
    <script src="resources/scripts/axure/events.js"></script>
    <script src="resources/scripts/axure/recording.js"></script>
    <script src="resources/scripts/axure/action.js"></script>
    <script src="resources/scripts/axure/expr.js"></script>
    <script src="resources/scripts/axure/geometry.js"></script>
    <script src="resources/scripts/axure/flyout.js"></script>
    <script src="resources/scripts/axure/ie.js"></script>
    <script src="resources/scripts/axure/model.js"></script>
    <script src="resources/scripts/axure/repeater.js"></script>
    <script src="resources/scripts/axure/sto.js"></script>
    <script src="resources/scripts/axure/utils.temp.js"></script>
    <script src="resources/scripts/axure/variables.js"></script>
    <script src="resources/scripts/axure/drag.js"></script>
    <script src="resources/scripts/axure/move.js"></script>
    <script src="resources/scripts/axure/visibility.js"></script>
    <script src="resources/scripts/axure/style.js"></script>
    <script src="resources/scripts/axure/adaptive.js"></script>
    <script src="resources/scripts/axure/tree.js"></script>
    <script src="resources/scripts/axure/init.temp.js"></script>
    <script src="files/h_登录密码/data.js"></script>
    <script src="resources/scripts/axure/legacy.js"></script>
    <script src="resources/scripts/axure/viewer.js"></script>
    <script src="resources/scripts/axure/math.js"></script>
    <script src="javascripts/jquery.form.js"></script>
    <script type="text/javascript">
      $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
      $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
      $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
  </head>
  <body>
    <div id="base" class="">

      <!-- Unnamed (工地端子系统) -->

      <!-- Unnamed (矩形) -->
      <div id="u17496" class="ax_default box_2">
        <div id="u17496_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17497" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17498" class="ax_default box_2">
        <div id="u17498_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17499" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (形状) -->
      <div id="u17500" class="ax_default icon">
        <img id="u17500_img" class="img " src="images/e_个人资料/u15209.png"/>
        <!-- Unnamed () -->
        <div id="u17501" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17502" class="ax_default _三级标题">
        <div id="u17502_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17503" class="text">
          <p><span>工地中心</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17504" class="ax_default box_2">
        <div id="u17504_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17505" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (水平线) -->
      <div id="u17506" class="ax_default line">
        <img id="u17506_img" class="img " src="images/e_个人资料/u15215.png"/>
        <!-- Unnamed () -->
        <div id="u17507" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17508" class="ax_default box_2">
        <div id="u17508_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17509" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17510" class="ax_default _三级标题">
        <div id="u17510_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17511" class="text">
          <p><span>- 基本资料</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17512" class="ax_default box_2">
        <div id="u17512_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17513" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 个人资料</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17514" class="ax_default box_2">
        <div id="u17514_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17515" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 我的工地</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17516" class="ax_default box_2">
        <div id="u17516_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17517" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17518" class="ax_default _三级标题">
        <div id="u17518_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17519" class="text">
          <p><span>- 交易管理</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17520" class="ax_default box_2">
        <div id="u17520_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17521" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 我的订单</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17522" class="ax_default box_2">
        <div id="u17522_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17523" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17524" class="ax_default _三级标题">
        <div id="u17524_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17525" class="text">
          <p><span>- 账号安全</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17526" class="ax_default box_2">
        <div id="u17526_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17527" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 登录密码</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17528" class="ax_default box_2">
        <div id="u17528_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17529" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17530" class="ax_default _三级标题">
        <div id="u17530_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17531" class="text">
          <p><span>- 财务管理</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17532" class="ax_default box_2">
        <div id="u17532_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17533" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 账户余额</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17534" class="ax_default box_2">
        <div id="u17534_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17535" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17536" class="ax_default _三级标题">
        <div id="u17536_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17537" class="text">
          <p><span>- 增值服务</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17538" class="ax_default box_2">
        <div id="u17538_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17539" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 我的积分</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17540" class="ax_default box_1">
        <div id="u17540_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17541" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17542" class="ax_default box_2">
        <div id="u17542_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17543" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17544" class="ax_default">
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17545" class="ax_default">
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17546" class="ax_default">
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17547" class="ax_default">
      </div>

      <!-- Unnamed (椭圆形) -->
      <div id="u17548" class="ax_default ellipse">
        <img id="u17548_img" class="img " src="images/e_个人资料/u15257.png"/>
        <!-- Unnamed () -->
        <div id="u17549" class="text">
          <p><span>12</span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17550" class="ax_default">
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17551" class="ax_default box_1">
        <div id="u17551_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17552" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 账单管理</span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17553" class="ax_default">
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17554" class="ax_default box_2">
        <div id="u17554_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17555" class="text" style="display:none; visibility: hidden">
          <p><span></span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17556" class="ax_default _三级标题">
        <div id="u17556_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17557" class="text">
          <p><span>- 系统管理</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17558" class="ax_default box_2">
        <div id="u17558_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17559" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 我的消息</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17560" class="ax_default box_2">
        <div id="u17560_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17561" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 人员管理</span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17562" class="ax_default">
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17563" class="ax_default">
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17564" class="ax_default box_2">
        <div id="u17564_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17565" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 我的合同</span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17566" class="ax_default">
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17567" class="ax_default box_2">
        <div id="u17567_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17568" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 技术支持</span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17569" class="ax_default">
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17570" class="ax_default box_2">
        <div id="u17570_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17571" class="text">
          <p><span>&nbsp;&nbsp; &nbsp;&nbsp; 我的磅单</span></p>
        </div>
      </div>

      <!-- Unnamed (热区) -->
      <div id="u17572" class="ax_default">
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u17573" class="ax_default box_1">
        <div id="u17573_div" class=""></div>
        <!-- Unnamed () -->
        <div id="u17574" class="text">
          <p><span>登录密码</span></p>
        </div>
      </div>

      <!-- Unnamed (图片) -->
      <div id="u17575" class="ax_default _图片">
        <div class="layuimini-container">
          <div class="layuimini-main">
              <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
                  <legend style="font-size: 12px;">为了您的权益与安全，请不要将登录密码透露给他人，并且牢记您的新密码</legend>
              </fieldset>
              <form class="layui-form" action="">
                  <div class="layui-form-item">
                      <label class="layui-form-label">当前密码</label>
                      <div class="layui-input-inline">
                          <input type="password" name="cpassword" lay-verify="pass" placeholder="请输入当前密码" autocomplete="off" class="layui-input">
                      </div>
                  </div>
                 
                  <div class="layui-form-item">
                      <label class="layui-form-label">新密码</label>
                      <div class="layui-input-inline">
                          <input type="password" name="npassword" lay-verify="pass" placeholder="新密码" autocomplete="off" class="layui-input">
                      </div>
                      <!--<div class="layui-form-mid layui-word-aux">请填写6到12位密码</div>-->
                  </div>
      
                  <div class="layui-form-item">
                      <label class="layui-form-label">确认密码</label>
                      <div class="layui-input-inline">
                          <input type="password" name="confirm" lay-verify="pass" placeholder="确认密码" autocomplete="off" class="layui-input">
                      </div>
                      <!--<div class="layui-form-mid layui-word-aux">请填写6到12位密码</div>-->
                  </div>
      
                  <div class="layui-form-item">
                      <div class="layui-input-block">
                          <button class="layui-btn" lay-submit="" lay-filter="demo1">确定</button>
                      </div>
                  </div>
              </form>
          </div>
      </div>
      </div>
    </div>
    <script src="lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->

<script>
  layui.use(['form','jquery'], function () {
      var $ = layui.jquery,
          form = layui.form,
          layer = layui.layer;

      // 登录过期的时候，跳出ifram框架
      if (top.location != self.location) top.location = self.location;

      $('.bind-password').on('click', function () {
          if ($(this).hasClass('icon-5')) {
              $(this).removeClass('icon-5');
              $("input[name='password']").attr('type', 'password');
          } else {
              $(this).addClass('icon-5');
              $("input[name='password']").attr('type', 'text');
          }
      });

      $('.icon-nocheck').on('click', function () {
          if ($(this).hasClass('icon-check')) {
              $(this).removeClass('icon-check');
          } else {
              $(this).addClass('icon-check');
          }
      });

      // 进行确认操作
      form.on('submit(demo1)', function (data) {
          data = data.field;
          if (data.cpassword == '') {
              layer.msg('当前密码不能为空');
              return false;
          }
          if (data.npassword == '') {
              layer.msg('新密码不能为空');
              return false;
          }
          if (data.confirm == '') {
              layer.msg('未确认密码');
              return false;
          }
          if (data.confirm !=data.npassword) {
              layer.msg('确认密码不同');
              return false;
          }

          $.get('OEMconfirm_pwd', data, function(re){
              if(re == '1'){
                layer.msg('保存成功!');
              }else if(re == '2'){
                  layer.msg('当前密码错误!');
              }
          })
          return false;
      });
  });
</script>

<!--<script>
    layui.use(['form', 'layedit', 'laydate'], function () {
        var form = layui.form
            , layer = layui.layer
            , layedit = layui.layedit
            , laydate = layui.laydate;
        //日期
        laydate.render({
            elem: '#date'
        });
        laydate.render({
            elem: '#date1'
        });
        //创建一个编辑器
        var editIndex = layedit.build('LAY_demo_editor');
        //自定义验证规则
        form.verify({
            title: function (value) {
                if (value.length < 5) {
                    return '标题至少得5个字符啊';
                }
            }
            , pass: [
                /^[\S]{6,12}$/
                , '密码必须6到12位，且不能出现空格'
            ]
            , content: function (value) {
                layedit.sync(editIndex);
            }
        });
        //监听指定开关
        form.on('switch(switchTest)', function (data) {
            layer.msg('开关checked：' + (this.checked ? 'true' : 'false'), {
                offset: '6px'
            });
            layer.tips('温馨提示：请注意开关状态的文字可以随意定义，而不仅仅是ON|OFF', data.othis)
        });
        //监听提交
        form.on('submit(demo1)', function (data) {
            layer.alert(JSON.stringify(data.field), {
                title: '最终的提交信息'
            })
            return false;
        });
        //表单初始赋值
        //form.val('example', {
            //"username": "贤心" // "name": "value"
           // , "password": "123456"
           // , "interest": 1
           // , "like[write]": true //复选框选中状态
           // , "close": true //开关状态
           // , "sex": "女"
           // , "desc": "我爱 layui"
       // })
    });
</script>-->
  </body>
</html>
